#ifndef OPENGL_H
#define OPENGL_H

#include <QtGui/QMainWindow>
#include <QScrollArea>
#include <QGridLayout>
#include <QRect>
#include "ui_topengl.h"
#include "wshow.h"

class TOpenGL : public QMainWindow
{
	Q_OBJECT

public:
	TOpenGL(QWidget *parent = 0, Qt::WFlags flags = 0);
	~TOpenGL();

private:
	Ui::MainWindow ui;
	WShow *mpShow;
	QScrollArea* mpWidgetArea;
	QGridLayout *mpCentralLayout;

	QRect getGLSize();
};

#endif // OPENGL_H
